package com.lxmes.business.service;

import java.util.List;
import com.lxmes.business.domain.ZcGeneralLedger;

/**
 * 总账Service接口
 * 
 * @author lx
 * @date 2023-06-24
 */
public interface IZcGeneralLedgerService 
{
    /**
     * 查询总账
     * 
     * @param id 总账主键
     * @return 总账
     */
    public ZcGeneralLedger selectZcGeneralLedgerById(Long id);

    /**
     * 查询总账列表
     * 
     * @param zcGeneralLedger 总账
     * @return 总账集合
     */
    public List<ZcGeneralLedger> selectZcGeneralLedgerList(ZcGeneralLedger zcGeneralLedger);

    /**
     * 新增总账
     * 
     * @param zcGeneralLedger 总账
     * @return 结果
     */
    public int insertZcGeneralLedger(ZcGeneralLedger zcGeneralLedger);

    /**
     * 修改总账
     * 
     * @param zcGeneralLedger 总账
     * @return 结果
     */
    public int updateZcGeneralLedger(ZcGeneralLedger zcGeneralLedger);

    /**
     * 批量删除总账
     * 
     * @param ids 需要删除的总账主键集合
     * @return 结果
     */
    public int deleteZcGeneralLedgerByIds(Long[] ids);

    /**
     * 删除总账信息
     * 
     * @param id 总账主键
     * @return 结果
     */
    public int deleteZcGeneralLedgerById(Long id);
    /**
     * 导入总账信息
     *
     * @return 结果
     */
    String imporIteminfo(List<ZcGeneralLedger> zcGeneralLedgerList, boolean updateSupport, String operName);
}
